package com.cn.bcyp.api.config;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class ExcelDataConfig {

	public static final String OFFICE_EXCEL_2003_FILESUFFIX = "xls";
	public static final String OFFICE_EXCEL_2010_FILESUFFIX = "xlsx";
	public static final String EMPTY = "";
	public static final String POINT = ".";
	public static final String NOT_EXCEL_FILE = " : Not the Excel file!";
	public static String MAIL_SETTO = null;
	public static String MAIL_SETCC = null;

	static {
			InputStream in = ExcelDataConfig.class.getClassLoader()
					.getResourceAsStream("email.properties");
			Properties prop = new Properties();
			try {
				prop.load(in);
			} catch (IOException e) {
				e.printStackTrace();
			}
			
			MAIL_SETTO = prop.getProperty("setto");
			MAIL_SETCC = prop.getProperty("setcc");
	}

}
